<include file="public@header"/>
</head>
<body>
<div class="wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a href="{:url('meeting/zheng/lists')}">证件订单</a></li>
    </ul>
    <form class="well form-inline margin-top-20" method="post" action="{:url('meeting/zheng/lists')}">
        订单号：
        <input class="form-control" type="text" name="order_no" style="width: 200px;" value="{:input('request.order_no')}"
               placeholder="">
        <input type="submit" class="btn btn-primary" value="搜索"/>
        <a class="btn btn-danger" href="{:url('meeting/zheng/lists')}">清空</a>
    </form>
    <form method="post" class="js-ajax-form">
        <table class="table table-hover table-bordered">
            <thead>
            <tr>
                <th>id</th>
                <th>订单号</th>
                <th>时间</th>
                <th>状态</th>
                <th>操作</th>
            </tr>
            </thead>
            <php>
                $status=[
                0=>'待付款',
                1=>'支付中',
                2=>'已支付',
                3=>'已取消',
                4=>'申请押金',
                9=>'已完成',
                -1=>'已关闭',
                ];
            </php>
            <tbody>
            <foreach name="list" item="vo">
                <tr>
                    <td>{$vo.id}</td>
                    <td>{$vo.order_no}</td>
                    <td>{:date('Y-m-d H:i:s',$vo['create_time'])}</td>
                    <td>{$status[$vo['status']]}</td>
                    <td>
                        <a href="{:url('detail',['id'=>$vo['id']])}" class="btn btn-success">详情</a>
                    </td>
                </tr>
            </foreach>
            </tbody>
        </table>
    </form>

</div>
<script src="__STATIC__/js/admin.js"></script>
<script>
    function check() {

    }
</script>
</body>
</html>